<template>
  <div class="wrap">
    <Header></Header>

    <div class="inner-wrap">
      <div>
        <div class="up-containner">
          <div class="up-right">
            <div class="title"> <img src="~@/assets/images/success-logo.png" alt=""> <span>恭喜您，注册成功！</span></div>
            <div class="main">
              <div class="context">
                <div>您可使用账号，手机验证码或邮箱进行登录！</div>
                <div>
                  为了更好的使用系统，请先下载
                </div>
              </div>

              <div class="info">
                <div class="item">
                  <img src="~@/assets/images/registered-shouji.png" alt="">
                  <div>
                    <div>手机号</div>
                    <div>13002589212</div>
                  </div>
                </div>
                <div class="item">
                  <img src="~@/assets/images/registered-youxiang.png" alt="">
                  <div>
                    <div>邮箱</div>
                    <div>4545454546@qq.com</div>
                  </div>
                </div>
                <div class="item">
                  <img src="~@/assets/images/registered-zhanghao.png" alt="">
                  <div>
                    <div>账号</div>
                    <div>jsjamsk</div>
                  </div>
                </div>
              </div>

              <el-button type="primary" @click="InformationInput">去登录并完善信息（9S）</el-button>
            </div>

          </div>
        </div>
        <div class="down-containner"></div>
      </div>
    </div>

  </div>
</template>

<script lang="ts">
  import Header from "@/layout/components/Header/index.vue";
  import { defineComponent } from "vue";
  import { useRouter } from "vue-router";
  export default defineComponent({
    components: {
      Header,
    },
    setup(props, context) {
      const router = useRouter();
      function InformationInput() {
        console.log(context);
        router.push("/InformationInput");
      }

      return {
        InformationInput,
      };
    },
  });
</script>

<style lang="scss" scoped>
.wrap {
  background: #f0f2f5;
  height: 100%;
  // height: calc(100vh);
}
.inner-wrap {
  width: 1164px;
  margin: 0 auto;
  padding-bottom: 30px;
}
.up-containner {
  height: 395px;
  background: url("~@/assets/images/registered-cg-up-bg.png");
  background-size: 290px;
  margin-top: 79px;

  .up-right {
    width: 894px;
    background: white;
    float: right;
    height: 100%;
    border-radius: 14px 2px 2px 14px;
    padding: 60px 0 0 54px;
    .title {
      img {
        width: 40px;
        vertical-align: top;
        font-size: 0;
        margin-right: 18px;
      }
      span {
        height: 40px;
        font-size: 20px;
        font-family: PingFang SC;
        font-weight: bold;
        line-height: 40px;
        color: #333333;
        opacity: 1;
        display: inline-block;
      }
    }
    .main {
      margin: 26px 0 0 60px;
      .context {
        margin-bottom: 20px;
        font-size: 14px;
        font-family: PingFang SC;
        font-weight: 400;
        line-height: 24px;
        color: #666666;
      }
      .info {
        display: flex;
        width: 726px;
        height: 100px;
        background: #f9f9fb;
        opacity: 1;
        border-radius: 2px;
        padding: 30px 0 30px 34px;
        .item {
          & > div {
            display: inline-block;
            color: #999999;
            margin-left: 15px;
            font-size: 12px;
            line-height: 24px;
          }
        }
        & > div {
          margin-right: 34px;
        }
        img {
          width: 40px;
          vertical-align: top;
        }
      }
      /deep/ .el-button--primary {
        margin-top: 37px;
      }
    }
  }
}
.down-containner {
  margin-top: 20px;
  width: 100%;
  height: 246px;
  background: url("~@/assets/images/registered-cg-down-bg.png");
  background-size: 100%;
}
</style>
